package strategy.weaponSimulator;

import strategy.weaponSimulator.character.King;
import strategy.weaponSimulator.character.Queen;
import strategy.weaponSimulator.character.base.Character;
import strategy.weaponSimulator.character.Troll;
import strategy.weaponSimulator.weapon.impl.AxeBehavior;
import strategy.weaponSimulator.weapon.impl.KnifeBehavior;
import strategy.weaponSimulator.weapon.impl.SwordBehavior;

public class WeaponDemo {
    public static void main(String[] args) {

        Character queen = new Queen();
        queen.setWeaponBehavior(new KnifeBehavior());
        queen.fight();

        Character king = new King();
        king.setWeaponBehavior(new SwordBehavior());
        king.fight();

        king.setWeaponBehavior(new AxeBehavior());
        king.fight();

        Character troll = new Troll();
        troll.setWeaponBehavior(new AxeBehavior());
        troll.fight();

    }
}
